package com.m3958.logcollector.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.m3958.logcollector.datacommons.repository.M3958DataRepository;
import com.m3958.logcollector.domain.TreeBlob;

public interface TreeBlobRepositoryCustom extends M3958DataRepository<TreeBlob> {

    <S extends TreeBlob> S save(S entity);

    Page<TreeBlob> findAll(Specification<TreeBlob> spec, Pageable pageable);
    
    TreeBlob findOne(Long id);
    
    void deleteAll();
}
